EPD Extension Kit for MSP430 LaunchPad
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
EPD_Kit_Tool_Process.h
Go to the documentation of this file.
1 
34 #ifndef EPD_KIT_TOO_PROCESS_H_
35 #define EPD_KIT_TOO_PROCESS_H_
36 
38 
41 typedef struct {
42  uint8_t EPD_size;
43  uint8_t image_index;
44  uint16_t number_of_images;
47  union {
48  long last_address;
52  } extend_address;
54 
55 
58 typedef struct {
59  uint8_t EPD_size;
60  uint8_t interval;
62  uint8_t image_end_index;
64 
65 #define Firmware_Version EPD_KIT_TOOL_VERSION
66 #define KitID_Number EPD_KIT_TOOL_ID
67 
68 #if !defined(BUFFER_SIZE)
69 #define BUFFER_SIZE 2
70 #endif
71 
72 #if !defined(PAYLOAD_SIZE)
73 #define PAYLOAD_SIZE 64
74 #endif
75 
76 #include "EPD_Led.h"
77 #include "Char.h"
78 #include "Mem_Flash.h"
79 #include "Uart_Driver.h"
80 #include "Uart_Controller.h"
81 
82 void EPD_Kit_Tool_process_init(void);
83 void EPD_Kit_tool_process_task(void);
84 extern void EPD_display_partialupdate (uint8_t EPD_type_index, long previous_image_address,
85  long new_image_address,long mark_image_address,
86  EPD_read_flash_handler On_EPD_read_flash);
87 #endif /* EPD_KIT_TOO_PROCESS_H_ */
88